package view.tables;

import javax.swing.Icon;

public class IconizedString implements IconizedInterface {
	private Icon icon;
	private String text;
	
	public IconizedString(String s, Icon i){
		icon = i;
		text = s;
	}

	@Override
	public Icon getIcon() {
		return icon;
	}
	
	@Override
	public String toString(){
		return text;
	}

}
